package com.ruoyi.web.dto;

import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class EnabledDto {

    @NotNull(message = "ID不能为空")
    private Long id;

    @NotNull(message = "状态不能为空")
    private Boolean enabled;
}
